home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 726-750 / 726 / p-reader / p-reader.doc < prev    next >
Text File  |  1995-03-18  |  14KB  |  305 lines

  1. PRE1
  2.                           P - R E A D E R V6.2 
  3.  
  4.                                                                               
  5.    Yet another infernal Reader.  There are hundreds of them already, reliable,
  6.    comprehensive, user-friendly, sitting around pleading to be used.  So pick 
  7.    the Readers that will properly display texts with multiple colour and style
  8.    changes, compressed texts, ILBMs.   Now the list gets shorter!   Find the  
  9.    Readers that will also display animations and sounds. . . Finally find the 
  10.    Readers that will show illustrated texts, with pictures and animations     
  11.    mixed in with the words.   What, none?                                     
  12.                                                                               
  13.    Wrong.  One.                                                               
  14.                                                                                
  15.    First the general instructions.  press HELP for a summary.                 
  16.                                                                               
  17.  
  18.                              INSTRUCTIONS 
  19.    Introduction
  20.       P-Reader can be used for:
  21.         All-purpose text reader.
  22.         Reader for special illustrated texts.
  23.         ILBM display, including HAM and cycling (where active).
  24.         Sounds (8SVX format).
  25.         ANIM5 type animation display.
  26.       
  27.       Texts, pictures and animations may be compressed (with P-Compress)
  28.   or uncompressed.  P-Reader will check and act accordingly.
  29.  
  30.       This reader forms the core of the complete P-Suite system.  Also included
  31.   in the Suite are:
  32.  
  33.    P-Writer.   A matching text editor with special facilities for writing in
  34.                 colour and style changes and calling up illustrations.
  35.    P-Compress. Compression and de-compression tool. (Includes P-Unpack).
  36.    P-Fixlib.   DOS patch utility.
  37.    P-Check.    Utility for checking suitability of IFF illustrations - ILBM
  38.                 and ANIM.
  39.    P-Animate.  Full-featured 3-D animation programme.
  40.    P-Index.    Active index/selector pages.
  41.  
  42.   Calling
  43.       From CLI:   P-Reader <FILE>
  44.          if no file is given P-Reader will open showing a file requester.
  45.  
  46.       From Workbench:  Click the icon. 
  47.          P-Reader will again open with a file requester.
  48.          To open with a file (may be a text, picture, sound, or animation),
  49.            hold <SHIFT> click the P-Reader icon, double-click the file icon.
  50.  
  51.     If you have Arp Library installed the standard Arp file requester will   
  52.   be used.
  53.   Operation
  54.  
  55.      P-Reader is mainly controlled by the ten function keys.  To produce a key 
  56.   strip index switch the printer on and click twice on the strip below with
  57.   the RIGHT mouse button to print it.  Cut out, join, print "P-Reader" on the 
  58.   back and enclose between two strips of clear Con-Tact film.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. #! 1 1 16 0 reader.key
  66.       A number of programs intercept the F keys and use them for other tasks.
  67.    If you find that your function keys do not give the expected response you
  68.    can use LSHIFT+1 in place of F1LSHIFT+2 for F2, and so on - LSHIFT+0
  69.    replaces F10.
  70.    
  71.       It will be helpful to understand that P-Reader is essentially two readers
  72.    in one.  If an illustrated file is loaded - one calling IFF illustrations
  73.    in the text, and identified by the letters PRE at the start of the file - it
  74.    will open in ILLUSTRATED mode.  The header will show page number rather than
  75.    line number, scrolling and color selection are inhibited; if you then toggle
  76.    the NOP gadget you will change to the NORMAL mode - the header shows line
  77.    numbers, scrolling is enabled, the color gadget works but the NOP and NOC 
  78.    gadgets have no function.   If a normal text file has been loaded the reader
  79.    opens in NORMAL mode.
  80.  
  81.   Key functions
  82.  
  83.    F1: Move to Page [n].  To move to any page press <F1>, enter the number of 
  84.    the required page, press <RETURN>.
  85.  
  86.    F2, F3: Press <F2> or <F3> to get the first or last pages respectively.
  87.  
  88.    F4: Search.  Requester will appear.  Click on this and replace the word
  89.    "text" with the string  that you want to find.  Set case-sensitivity and
  90.    press <RETURN>.  The  search will always start at the beginning of the file.
  91.    A cursor will appear immediately before the required string.
  92.  
  93.    F5: Search again.  Search will continue from the last instance found.
  94.  
  95.     WARNING The Search window must remain active during the search process    
  96.    If your pointer automatically activates the window over which it is placed,
  97.      make sure that it remains over the Search window.                         
  98.  
  99.    F6: Print page.  The current page will be dumped to the printer.
  100.  
  101.    F7: Print file.  The whole file will be dumped.
  102.  
  103.    F8: Screen to back.  Since P-Reader opens its own screen & window, depth or
  104.    window shrinking gadgets are not useful.  <F8>, together with  <Amiga-N>
  105.    <Amiga-M> allow any screen to be brought up.
  106.  
  107.    F9: Load.  Brings up a file requester.  A new file can be selected at any
  108.    time.
  109.  
  110.    F10:  Save.  Brings up the file requester again.  The text will always be   
  111.    saved in normal un-compressed ASCii form.  ILBM illustrations in the text
  112.    will not be saved (but see below under "ILBM Display).  
  113.  
  114.    If you do not have the Arp library, a simple string gadget requester will
  115.    appear.  Enter the required file, press <return> and click <OK> or <CANCEL>.
  116.         
  117.    More functions are performed by page header gadgets. From left to right:
  118.  
  119.       Window close - terminates P-Reader.  
  120.       Page up      - just click on it (L mouse button).
  121.       NoP          - No Pictures. Toggles to suppress or enable graphics.
  122.                       Also enables scrolling and palette gadget.
  123.       Palette      - Click to cycle through available colors.  
  124.       NoC          - No Cycling.   Toggles to suppress or enable cycling.
  125.       Page Down    - Just click on it.
  126.     
  127.    The secondary functions of some keys of the numeric pad are activated:
  128.  
  129.       Home  (7)   - move to page 1.
  130.       End   (1)   - move to last page
  131.       Pg Up (9)   - move to previous page
  132.       Pg Dn (3)   - move to next page. 
  133.  
  134.  Window Size
  135.  
  136.     To make it possible to include illustrations an illustrated P-Reader text
  137.   has a set page size & color palette.  No scrolling or color changes while 
  138.   the NoP gadget is OFF
  139.  
  140.     As a simple text reader P-Reader opens a screen matching the current
  141.   display mode.  If however an illustrated file is loaded, a PAL (256 line) or 
  142.   NTSC (200 line) screen will be used according to detail in the file header.
  143.  
  144.  Scrolling
  145.     
  146.     Hold LMB down to scroll down; RMB scrolls up.  Press LSHIFT to toggle
  147.   scrolling speed.  In illustrated mode clicking the NoP gadget enables
  148.   scrolling but inhibits illustrations.
  149.  
  150.  ILBM Display
  151.  
  152.     To stop cycling (if active) click with the LEFT mouse button.
  153.     To dump to the printer place the pointer over the illustration and click
  154.   twice with the RIGHT mouse button.  Requester will ask for confirmation.
  155.  
  156.     P-Reader can be used as a stand-alone ILBM viewer.  In this role it will
  157.   accept any of the standard view-modes and screen depths.  
  158.  
  159.     To start cycling press <TAB>.
  160.     To stop cycling click once with the LEFT mouse button.    
  161.     To dump to the printer click twice with the RIGHT mouse button.
  162.     To close the screen click once with the LEFT mouse button.
  163.  
  164.  ANIMATION Display
  165.  
  166.     ANIM5s (as produced by DPaint, Videoscape, P-Animator, etc) can be shown
  167.   either as text illustrations or by themselves.  The animation will display
  168.   its opening screen while loading.  When the animation is called directly (ie
  169.   not from a text file) a switch can be used to set the framing rate in frames
  170.   /second; default is 7 frames/sec.  
  171.  
  172.     Starting from a cli just type the required rate (preceded by -r) after the
  173.   filename, eg
  174.                 P-Reader dh0:Marilyn -r12
  175.  
  176.     From Workbench enter RATE=12 in the Tool Types section of the icon used to
  177.   call the animation.
  178.  
  179.     To start the animation click the LEFT mouse button once.
  180.     To end the animation click again.
  181.     When used as an illustration the animation must be run (a double-click
  182.   suffices) before you can move on to the next page.
  183.  
  184.     Displaying large animations usually needs 1 Meg of memory.  Click on the
  185.   NoP gadget above if you have less.
  186.  
  187.  
  188.                            ILLUSTRATED TEXTS 
  189.  
  190.      The preparation of illustrated texts for P-Reader is much easier with 
  191.    P-Writer, its partner in the P-Suite stable.  However P-Writer is not
  192.    essential.
  193.  
  194.  Colour and Style Changes
  195.    The normal escape codes are used.    The most useful being:
  196.    reset   ^[[0;31;40m     b'ground Pen1  ^[[41m     style bold    ^[[1m
  197.    text Pen1   ^[[31m      b'ground Pen2  ^[[42m     style italic  ^[[3m 
  198.    text Pen2   ^[[32m      b'ground Pen3  ^[[43m     underline     ^[[4m
  199.    text Pen3   ^[[33m
  200.  
  201.    The initial ^[ represents the insert introducer or CSI, the non-printing
  202.    character produced by 'Esc'.  Refer to the instructions for your text
  203.    editor to see how to insert this.
  204.  
  205.  Three types of graphics (four if you count sounds) can be called :
  206.  
  207.  ILBMs (IFF pictures) 
  208.                        
  209.    True ILBMs produced by DPaint or any of the standard drawing software can
  210.    be used, provided that:
  211.  
  212.      Size is no greater than 640 X 256 (PAL) or 640 X 200 (NTSC).
  213.      No HAM or HALFBRITE.
  214.      Depth is three planes (eight colours).
  215.  
  216.    The picture shares a screen with the text, so the palette used by the
  217.    picture will affect screen colours.  Wherever possible the first four 
  218.    colours of the picture should be close to 000, FFA, 3F3, F20.  The rest of
  219.    the default palette is 45F, FC8, A60, 0A0.
  220.  
  221.       Calling syntax:  (do not leave any space between # and !) :
  222.  
  223.        # !  1 [Left edge] [Top edge] [Cycling] [File] 
  224.                                       (Cycling: ON = 1,  OFF = 0)
  225.  
  226.    The sequence may be placed anywhere on the page, but is best put at the
  227.    bottom so that all text is displayed first.  Any text after # followed by !
  228.    is not displayed. (Which is why "# followed by !" has to be written here.
  229.  
  230. ANIMATIONS                                     
  231.                                                     
  232.    This version supports straightforward ANIM5 animations as produced by
  233.  DPaint, Videoscape, The Projector, P_Animator and others.  Full information on
  234.  how to create animations for P-Reader will be given in P_Animator.    
  235.  
  236.    The command syntax is:  # ! 2 0 0 0 [File]           
  237.                                
  238.    The sequence can go anywhere on the page.  There should be no text directly 
  239.  under the anim.
  240.  
  241.   UP TO THREE ILBMs OR ONE ANIM MAY BE CALLED ON EACH PAGE
  242.  
  243.  SOUNDS
  244.  
  245.    Sound effects can be included if they are in the normal 8SVX format.        
  246.    Command syntax:  # ! 4 [File]
  247.  
  248.  BORDERS
  249.  
  250.    Provides a standard Intuition Border which may be used to enclose text or 
  251.   pictures.  
  252.    Command syntax is:  # ! 3 [Left edge] [Top line] [Width] [Height] [Pen]
  253.  
  254.    The command sequence may be placed anywhere on the page, however to prevent 
  255.   the border from being over-written by text it is best put on a line below
  256.   where the border will appear. 
  257.    
  258.  Identification
  259.  
  260.   To identify an illustrated text write the letters PRE at its very start,
  261.   followed immediately (no blank spaces) by 0 to indicate a PAL file or 1 for
  262.   an NTSC file.  
  263.  
  264.  
  265.   SUMMARY OF KEY-COMMANDS 
  266.  
  267.     F1 <page> or <line> <return>       Move to <page> or <line> 
  268.     F2/F3                              Move to first/final page
  269.     F4/F5                              Search/search again
  270.     F6/F7                              Print Page/File
  271.     F8                                 Move screen to back
  272.     F9                                 Get next file
  273.     F10                                Save file ASCII
  274.  
  275.     Inset graphics           Stop Cycling        Press any key
  276.                              Print               Click RMB twice
  277.   
  278.     ILBM reader              Start/stop cycling  Press <TAB>/any key
  279.                              Print               Click RMB twice
  280.  
  281.     Animation                Start               Click LBM
  282.                              Stop                Click again 
  283.  
  284.     Scroll up/down           RMB/LMB   <SHIFT> toggles speed
  285.  
  286.                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
  287.  
  288.    P-Reader may be freely copied and circulated in whole or in part, provided 
  289.   that any distribution is accompanied by this file.   The programme may be
  290.   used for any non-commercial or non-profit-making purpose.  Authority for
  291.   commercial or profit-making purposes may be obtained from the author -
  292.   proposals for payment in kind will be looked on favorably. 
  293.  
  294.   Reactions, suggestions, bug-reports all welcome.
  295.  
  296.   A.M.H Wyndham
  297.   1265 Canning Mills Road,
  298.   Roleystone,
  299.   WA 6111
  300.   Australia
  301.  
  302.